package com.softeem.cms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.softeem.cms.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * 实现userinfo表持久化操作类
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where username=#{username}")
    User selectByUsername(String username);

}
